package scut.kent.shopping.model;

import java.util.Date;
import java.util.List;

public class Oders {
	int id;
	int address_id;
	Date create_date;
	Date pay_date;
	double price;
	int user_id;
	int status;
	List<Item> items;
	public Oders(int id, int address_id, Date create_date, Date pay_date,
			double price, int user_id, int status) {
		super();
		this.id = id;
		this.address_id = address_id;
		this.create_date = create_date;
		this.pay_date = pay_date;
		this.price = price;
		this.user_id = user_id;
		this.status = status;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getAddress_id() {
		return address_id;
	}
	public void setAddress_id(int address_id) {
		this.address_id = address_id;
	}
	public Date getCreate_date() {
		return create_date;
	}
	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}
	public Date getPay_date() {
		return pay_date;
	}
	public void setPay_date(Date pay_date) {
		this.pay_date = pay_date;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public List<Item> getItems() {
		return items;
	}
	public void setItems(List<Item> items) {
		this.items = items;
	}
	
}
